home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / libg_261.zip / libg_261 / libg++ / old-stream / Makefile.in < prev    next >
Makefile  |  1993-04-19  |  973b  |  34 lines

  1. srcdir = .
  2.  
  3. #### package, host, target, and site dependent Makefile fragments come in here.
  4. ##
  5.  
  6. OBJS = File.o PlotFile.o Filebuf.o SFile.o \
  7.   filebuf.o form.o istream.o  itoa.o ostream.o streambuf.o
  8.  
  9. # The following include files are publicly visible, and
  10. # should be installed where user programs can find them.
  11.  
  12. USER_INCLUDES = File.h Filebuf.h Fmodes.h PlotFile.h SFile.h \
  13.   filebuf.h istream.h ostream.h stream.h streambuf.h
  14.  
  15. # The following include files are private to the implementation.
  16.  
  17. INTERNAL_INCLUDES = 
  18.  
  19. DEPEND_SOURCES = $(srcdir)/*.c  $(srcdir)/*.cc
  20.  
  21. $(TARGETLIB): $(OBJS)
  22.     $(AR) $(AR_FLAGS) $(TARGETLIB) $(OBJS)
  23.     $(RANLIB) $(TARGETLIB)
  24.  
  25. install-include-files:
  26.     if [ ! -d $(IDIR) ] ; then mkdir $(IDIR) ; fi
  27.     cd $(srcdir);                      \
  28.     for FILE in $(USER_INCLUDES) ; do          \
  29.         rm -f $(IDIR)/$$FILE;                          \
  30.         $(INSTALL_DATA) $$FILE $(IDIR)/$$FILE ;      \
  31.         chmod 0444 $(IDIR)/$$FILE;                  \
  32.         echo $(IDIR)/$$FILE installed;                  \
  33.     done
  34.